package com.wyh.domain.po.feemanagementpo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("refund")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Refunds implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "退款id")
    private Integer id;

    @ApiModelProperty(value = "客户名称")
    private String customername;

    @ApiModelProperty(value = "客户电话")
    private String customerphone;

    @ApiModelProperty(value = "退款类型")
    private Integer type;

    @ApiModelProperty(value = "退款金额")
    private String amount;

    @ApiModelProperty(value = "申请人")
    private String applicant;

    @ApiModelProperty(value = "申请日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applicationdate;

    @ApiModelProperty(value = "退款账号")
    private String refundaccount;

    @ApiModelProperty(value = "开户银行")
    private String openingbank;

    @ApiModelProperty(value = "退款账户名")
    private String refunder;

    @ApiModelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "状态")
    private Integer state;

    @ApiModelProperty(value = "退款银行")
    private String refundbank;

    @ApiModelProperty(value = "退款原因")
    private String refundreason;

    @ApiModelProperty(value = "客户id")
    private int customerid;

    @ApiModelProperty(value = "回执单号")
    private String receiptnumber;

    @ApiModelProperty(value = "申请处理人")
    private String applipeople;

    @ApiModelProperty(value = "处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date handledate;

    @ApiModelProperty(value = "退款完成处理人")
    private String handlepeople;

    @ApiModelProperty(value = "生成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;
}
